package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 印章 下发 表
 * 
 * @author 张朋朋
 *
 */

@Entity
public class t_seal_push implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;
	private String seal_id;
	
	private String note;// 备注
	private String flag;//是否通过 通过 or 不通过  or 待复核  or 领取待审核  or 领取通过  or  不符待审核 or  不符通过（印章错误） or 在途
	private String user_id;// 操作人员
	private String bank_id;// 操作的银行
	private String down_bank_id;//下发目的银行
	
	//复核
	private String check_id;//下发复核
	
	//领用申请
	private String person;//接收人员2个    
	private String men;
	private String p_id;
	private String m_id;
	private String rec_app_user_id;//领用申请人
	private String identifying_code;//8位验证码
	private Timestamp code_time;//验证码生成时间
	
	//出库
	private String verify_note;//出库备注
	private Timestamp verify_time;//下发出库时间
	
	//入库
	private String recieve_user_id;//入库操作人员
	private Timestamp recieve_time;//入库是时间
	private String recieve_note;//备注
	
	//领取复核
	private String re_check_id;	
	
	private String twice_user_id;//不符时 的审核银行
	private String twice_note;
	private Timestamp twice_time;
	private String twice_check_id;

	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getSeal_id() {
		return seal_id;
	}

	public void setSeal_id(String seal_id) {
		this.seal_id = seal_id;
	}

	public String getDown_bank_id() {
		return down_bank_id;
	}

	public void setDown_bank_id(String down_bank_id) {
		this.down_bank_id = down_bank_id;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getBank_id() {
		return bank_id;
	}

	public void setBank_id(String bank_id) {
		this.bank_id = bank_id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getCheck_id() {
		return check_id;
	}

	public void setCheck_id(String check_id) {
		this.check_id = check_id;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getVerify_note() {
		return verify_note;
	}

	public void setVerify_note(String verify_note) {
		this.verify_note = verify_note;
	}

	public Timestamp getVerify_time() {
		return verify_time;
	}

	public void setVerify_time(Timestamp verify_time) {
		this.verify_time = verify_time;
	}

	public String getRe_check_id() {
		return re_check_id;
	}

	public void setRe_check_id(String re_check_id) {
		this.re_check_id = re_check_id;
	}

	public String getTwice_user_id() {
		return twice_user_id;
	}

	public void setTwice_user_id(String twice_user_id) {
		this.twice_user_id = twice_user_id;
	}

	public String getTwice_note() {
		return twice_note;
	}

	public void setTwice_note(String twice_note) {
		this.twice_note = twice_note;
	}

	public Timestamp getTwice_time() {
		return twice_time;
	}

	public void setTwice_time(Timestamp twice_time) {
		this.twice_time = twice_time;
	}

	public String getTwice_check_id() {
		return twice_check_id;
	}

	public void setTwice_check_id(String twice_check_id) {
		this.twice_check_id = twice_check_id;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getMen() {
		return men;
	}

	public void setMen(String men) {
		this.men = men;
	}

	public String getP_id() {
		return p_id;
	}

	public void setP_id(String p_id) {
		this.p_id = p_id;
	}

	public String getM_id() {
		return m_id;
	}

	public void setM_id(String m_id) {
		this.m_id = m_id;
	}

	public String getIdentifying_code() {
		return identifying_code;
	}

	public void setIdentifying_code(String identifying_code) {
		this.identifying_code = identifying_code;
	}

	public String getRecieve_user_id() {
		return recieve_user_id;
	}

	public void setRecieve_user_id(String recieve_user_id) {
		this.recieve_user_id = recieve_user_id;
	}

	public Timestamp getRecieve_time() {
		return recieve_time;
	}

	public void setRecieve_time(Timestamp recieve_time) {
		this.recieve_time = recieve_time;
	}

	public String getRecieve_note() {
		return recieve_note;
	}

	public void setRecieve_note(String recieve_note) {
		this.recieve_note = recieve_note;
	}

	public Timestamp getCode_time() {
		return code_time;
	}

	public void setCode_time(Timestamp code_time) {
		this.code_time = code_time;
	}

	public String getRec_app_user_id() {
		return rec_app_user_id;
	}

	public void setRec_app_user_id(String rec_app_user_id) {
		this.rec_app_user_id = rec_app_user_id;
	}

}
